//
//  ZFPersonInfoViewController.m
//  HappilyLoan
//
//  Created by zainishenbian on 2017/3/29.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#import "ZFPersonInfoViewController.h"
#import "ZFMyIDVerifyViewController.h"//身份认证
#import "ZFMyBaseInfoViewController.h"//个人基础信息
#import "ZFMyAuthorizeViewController.h"//信息授权
#import "ZFHeader.h"
@interface ZFPersonInfoViewController ()

@end

@implementation ZFPersonInfoViewController

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    [MobClick beginLogPageView:@"personalInfo"];
    self.navigationController.navigationBarHidden = NO;
}
- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    [MobClick endLogPageView:@"personalInfo"];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"个人信息";
    
    [self initData];
}

- (void)initData
{
    _dealPwdLabel.hidden = YES;
    _dealPwdButton.hidden = YES;
    _gestureLabel.hidden = YES;
    _gesturePwdButton.hidden = YES;
    _lineView1.hidden = YES;
    _lineView2.hidden = YES;
    _img1.hidden = YES;
    _img2.hidden = YES;
}
#pragma mark ———— button的点击事件
- (IBAction)listTapClick:(id)sender {
    
    UIButton *button = (UIButton *)sender;
    
    UIViewController *VC = nil;
    switch (button.tag) {
        case 1:
            {
                VC = [ZFMyIDVerifyViewController new];
            }
            break;
        case 2:
            {
                VC = [ZFMyBaseInfoViewController new];
            }
            break;

        case 3:
            {
                VC = [ZFMyAuthorizeViewController new];
            }
            break;

        case 4:
            {
            
            }
            break;

        case 5:
            {
            
            }
            break;
            
        default:
            break;
    }
    [self.navigationController pushViewController:VC animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
